<%@ page import="java.sql.DriverManager" %>
<%@ page import="java.sql.Connection" %>
<%@ page import="java.sql.Statement" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    //1、注册驱动（公司报道）
    Class.forName("com.mysql.cj.jdbc.Driver");
    //2、获取连接（中标造桥）
    Connection connection = DriverManager.getConnection("jdbc:mysql://mysql.zhledu.cn:3306/school", "school", "zhli2008");
    //3、创建执行对象（获取货车）
    Statement stmt = connection.createStatement();
%>
